package com.xiaozhu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaozhu.domin.Book;


public interface BookService extends IService<Book> {
//    Boolean save(Book book);
//    Boolean delete(Integer id);
//    Boolean update(Book book);
//    Book getById(Integer id);
//    List<Book> selectAll();
    IPage<Book> getByPage(int currentPage, int pageSize);
    IPage<Book> getByPage(int currentPage, int pageSize,Book book);
}
